package com.laf.test;


import weibo4j.Timeline;
import weibo4j.examples.oauth2.Log;
import weibo4j.model.StatusWapper;
import weibo4j.model.WeiboException;
import weibo4j.util.WeiboConfig;

public class GetFriendsTimeLine {
	public static void main(String[] args) {
		String accessToken = WeiboConfig.getValue("access_token");
		Timeline tm = new Timeline(accessToken);
		
		try {
			StatusWapper sw = tm.getFriendsTimeline();
			Log.logInfo(sw.toString());
		} catch (WeiboException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
}
